package com.isdepci.project.reference.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * GWP数据对象 reference_data_fugitive_gwp
 *
 * @author isdepci
 * @date 2023-08-22
 */
public class ReferenceDataFugitiveGwp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 类型(1变暖潜能值、2制冷剂GWP值)  */
    @Excel(name = "类型(1变暖潜能值、2制冷剂GWP值) ")
    private Integer type;

    /** 温室气体 */
    @Excel(name = "温室气体")
    private String greenhouseGas;

    /** 分子式 */
    @Excel(name = "分子式")
    private String formula;

    /** 全球变暖潜势 */
    @Excel(name = "全球变暖潜势")
    private String gwp;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setGreenhouseGas(String greenhouseGas)
    {
        this.greenhouseGas = greenhouseGas;
    }

    public String getGreenhouseGas()
    {
        return greenhouseGas;
    }
    public void setFormula(String formula)
    {
        this.formula = formula;
    }

    public String getFormula()
    {
        return formula;
    }
    public void setGwp(String gwp)
    {
        this.gwp = gwp;
    }

    public String getGwp()
    {
        return gwp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("greenhouseGas", getGreenhouseGas())
            .append("formula", getFormula())
            .append("gwp", getGwp())
            .toString();
    }
}
